EMT Practice Test

1. Question Content...


Question List

Question1: Which of the following is true regarding maintainability?

Question2: Which of the following defect types is NOT an example of a defect type typically found with API testing?

Question3: Given the following decision: IF X < 5 OR Y > 10 THEN
Which of the following sets of test inputs will achieve full MC/DC coverage?

Question4: Consider the code fragment provided below:

The comment frequency of the code fragment is 13%.
To which non-functional quality characteristic does a good level of comment frequency especially contribute?

Question5: The requirements specification of a product begins with this sentence:
"The xyz system will provide many new user functions. These must be easy for our operators to use and tolerant of user input errors. These new functions must also be easy to learn. Because of very high transaction rates and limited processing power, the software design must be very efficient. The system must be available as close to 24x7 as possible.
Which three ISO 25010 major quality characteristics should be tested for possible defects with this implementation?

Question6: A major Caribbean bank typically develops their own banking software using an Agile methodology.
However, for some specific components COTS software is acquired and used. The bank does not want to create a dependency on any external COTS supplier.
As part of the test approach, portability testing will be performed. Which portability sub-characteristic is especially relevant for the Caribbean bank?

Question7: Your team is developing an e-shop application (the SUT) that will use a third-party service to process payments via an API. This third-party payment gateway is itself still under development Which statement contains a pair of benefits that can BOTH be expected from service virtualization in this circumstance' SELECT ONE OPTION

Question8: When conducting a data flow analysis of following section of pseudo code:
Declare Function_Biggest integer (inputl integer. Input2 Integer) }
Declare output Integer
Set output = inputl
If input2 > output then
Set output = input2
Endif
Return output
}
Which of the variables utilized above has a potential anomalie?

Question9: You have been assigned the task of conducting the performance efficiency testing for a new Internet toolbar.
Which of the following would be a valid test condition for this quality characteristic?

Question10: The F in the mnemonic FIRST stands for Fast Which option correctly states the meanings of the other four letters (IRST)?
SELECT ONE OPTION

Question11: Which TWO of the following statements about Maintainability testing are TRUE?
A) It should start as soon as the draft design documents are available for review
B) An application can be considered maintainable when static analysis and code review defects have been fixed
C) It tests the regression impact of software or environmental changes to an operational system
D) It can be performed during Operational Acceptance Testing by multiple departments
E) It can be performed during User Acceptance Testing to ensure business processes can be maintained

Question12: Consider the pseudo code provided below:

Given the following tests, what additional test(s) (if any) would be needed in order to achieve 100% statement coverage, with the minimum number of tests?
Test 1: A = 7, B = 7, Expected output: 7
Test 2: A = 7, B = 5, Expected output: 5

Question13: Consider the following section of code:
If ((A > B) or (C > D)) and (E = F) then
print A;
Endlf
Which of the following sets of test data can be used to achieve multiple condition coverage with the least number of tests?

Question14: You have been assigned the task of defining the risk-based approach to testing the performance efficiency of a new application. Which of the following is an ISTQB defined technique to use for Identifying the risks?

Question15: How many independent paths are shown in the control flow diagram below?

Question16: Which option below BEST explains the value of a test charter in exploratory testing"5 SELECT ONE OPTION

Question17: A new application for planning journeys on public transport is being developed that will work on mobile devices. Why would you MOST likely include Portability testing in the test plan?

Question18: Which of the following are activities that the Technical Test Analyst performs when setting up a test automation project?
1.Schedule the manual testing
2.Define interface requirements between tools
3.Perform a code review on the functional specifications
4.Determine whether to use a rule-dnven approach
5.Tram the test analysts to use and supply the data

Question19: Which of the following is a generic risk factor that should be considered by a Technical Test Analyst during a product risk analysis?

Question20: What is the earliest stage in the application's SDLC at which performance efficiency testing can be performed?

Question21: You are working on a complex systems integration project that will soon be deployed to the production environment. This system is replacing a system that was popular with the users and had no outstanding non-functional issues. There are multiple components that interact and these have been developed by various development and testing groups including some outsourced groups. You will be leading the performance testing effort. Although you would prefer to have a dedicated test system for this effort, you will have to use the production system. You can do this testing at a low usage time, but there will be some users on the system and you will be using real data for the tests. You are now planning your performance testing. Unfortunately, there are no requirements for the performance requirements of the system. How do you determine the acceptable performance levels for the various operational profiles?

Question22: You are an experienced tester on an Agile team that is producing a new application. The product backlog has been refined sufficiently to begin development for the first release. This stories in this backlog contain a mixture of functional and non-functional requirements, as well as some technical stories that will provide elements of the application's infrastructure The developers have decided to use TDD as a deveiopment approach but automation of the acceptance tests is not yet planned.
You have been asked to recommend whether or not the team should take an atdd approach as well as TDD.
what would be the BEST recommendation in these circumstances?
SELECT ONE OPTION

Question23: The following characteristics were identified during an early product risk-assessment for a software system:
* the software system needs to manage synchronization between various processes
* microcontrollers will be used that will limit product performance
* the hardware that will be used will make use of timeslots
* the number of tasks supported in parallel by the software system is large and are often highly complex.
Based on the information provided, which of the following non-functional test types is MOST appropriate to be performed?

Question24: As Technical Test Analyst on a test automation project covering the acquisition of a commercial test execution tool, what would you MOST likely be responsible for?

Question25: Consider the pseudo code for the Price program:

Which of the following statements about the Price program describes a control flow anomaly to be found in the program?

Question26: Given the following pseudo code for a program to solve quadratic equations:
program Quadratic Formula
integer: a, b, c, d
floating point: r1, r2
READ (a)
READ (b)
READ (c)
d := (b * b) - (4 * a * c)
IF d < 0 THEN
PRINT ("Imaginary Roots")
ELSE
r1 := (-b + sqrt(d)) / (2 * a)
r2 := (-b - sqrt(d)) / (2 * a)
PRINT ("first root is: " r1)
PRINT ("second root is: " r2)
ENDIF
END program Quadratic_Formula
Which of the following checklist items is MOST likely to indicate a problem in this program?

Question27: You are responsible for the performance testing of a new web application. In particular, you are interested in determining if you have enough and the right type of servers to handle 10,000 concurrent users. Which is the primary consideration when you are selecting your performance testing tools?

Question28: Which of the following can be executed by model-based testing tools?

Question29: A review of the following pseudo code is to be performed using a checklist:
Module Vowel Counter
Message: array of Characters
M, N: Integer
ACount, ECount, ICount, OCount, UCount: Integer
BEGIN
I=1
Read Nextchar
While Nextchar <> 'S'
DO
Message (I) = Nextchar
I = I+1
Read Nextchar
ENDWHILE
FOR M = 1 To I
DO
Print (Message(M))
IF Message (M) = 'E'
THEN
ECount = ECount + 1
ELSE
IF Message (M) = 'A'
THEN
ACount = ACount + 1
ELSE
IF Message (M) = 'I'
THEN
ICount = ICount + 1
ELSE
IF Message (M) = 'O'
THEN
OCount = OCount + 1
ELSE
IF Message (M) = 'U'
THEN
UCount = UCount + 1
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDFOR
Print ('Message contains ' ACount + ECount + ICount + OCount + UCount ' vowels') END Which of the following checklist items would find code errors in this scenario?
A) Are all variables properly declared?
B) Are all loops, branches, and logic constructs complete, correct, and properly nested?
C) Are all cases covered in an IF-ELSEIF, including ELSE or DEFAULT clauses?
D) Are loop termination conditions obvious and invariably achievable?
E) Are there any redundant or unused variables?

Question30: Which statement about test automation is TRUE7
SELECT ONE OPTION

Question31: You are reviewing the following Java function that determines whether a number input by the user is even or odd:
import java.util.Scanner;
public class OddOrEven {
public static void main(String[] args) {
Scanner reader = new Scanner(System.in);
System.out.print("Please enter a number: ");
int number = reader.nextInt();
if (number % 2 == 0) {
System.out.println("Your input number '" + number + "' is even.");
} else {
System.out.println("Your input number '" + number + "' is odd.");
}
}
}
You are guided by the following checklist:
*All variables must start with a Capital letter
*All output messages must start with a Capita letter
*There must be a clear comment when explaining the purpose of the dress
How many checklist items Mve been fuelled7
SELECT ONE OPTION

Question32: Which of the following is a true statement regarding a continuous integration environment?

Question33: Which of the following is a reason for the Technical Test Analyst to take the time to prepare for a code review?

Question34: which statement about test approaches is TRUE7
SELECT ONE OPTION

Question35: You work for a small supermarket chain which has successfully operated a product inventory application for several years. It has recently purchased a data warehousing solution which provides tailorable profiling of product purchases with the aim of improving its marketing strategy. The decision has been made to host the data warehousing software and database on the same server used by the product inventory application. Based on this decision, two product risks have been cataloged:
The co-existence of both applications on the same server may introduce resource conflicts, resulting in an unacceptable impact on the functionality of the product inventory application In the event of loss or corruption of product inventory data during transfer to the warehouse, it may not be possible to restore from back-up in the timeframe required, resulting in lost business.
Which TWO non-functional test types should be included in the test plan to mitigate both product risks?

Question36: Consider the simplified logic below for crediting money to a bank account.
Receive money and account number to be credited
IF account number is valid
IF customer account is active
Store current account balance as oldBalance
Credit money to account
IF oldBalance < zero
IF balance now >= zero
Set message "Overdraft cleared"
ELSE
Set message "A/c overdrawn"
ENDIF
ELSE
Set message = "You have more money"
ENDIF
IF account holder is VIP customer
Send message by email to customer
ENDIF
ELSE
Set message "A/c inactive"
Send message by email to supervisor
ENDIF
ELSE
Add 1 to count of invalid inputs
ENDIF
What percentage of decision testing coverage has been achieved by the following suite of test cases?
Test Case A - Account number valid, account is active, oldBalance = -100, balance now = +200, not a VIP customer Test Case B - Account number valid, account is active, oldBalance = -100, balance now = -50, is a VIP customer

Question37: Your team is now accountable for the support and enhancement of a payroll system that has been in production for many years and modified by many different developers. It has been noticed by management that small functional enhancements take much longer than equivalent changes on more recently developed systems. You have been tasked with implementing improved testing approaches that will help to identify the root cause of this problem.
Which of the following is the best technique to apply in this scenario?

Question38: A new Payroll system calculates the amount of tax that each employee must pay (TaxToPay) on their gross monthly salary (in (), and the net salary (NetSal) that they will receive after that amount of tax has been deducted It also calculates the amounts of tax (TaxPdYTD) and net salary (SalPdYTD) paid in the year to date (YTD) by adding them to the stored amounts from last month (for month 1 these will be zero), inputs Include Employee id (Empid) and Gross Salary this month (GrossSal). Tax Rate is looked up on the key of Employee Id, the amounts of tax and net salary paid in the year to date are looked up on the key of (Employee Id and
[month * 1]) except that for month 1 they will be zero.
if both employees were paid the same in month 1 as in the current month 2. for which tax has now to be calculated, which data-driven input and expected output table is correct for this situation?
Table 1
MonthEmpidGrossSalTaxRateTaxToPayNetSalTaxPdYTD
212000153001700600
222200204401760880
Table 2
MonthEmpidGrossSalTaxRateTaxToPayNetSalSalPdYTD
2120000.153001700600
2222000.24401760880
Table 3
MonthEmpidGrossSalTaxToPayNetSalTaxPdYTDSalPdYTD
11200030017006003400
12220044017608803520
Table 4
MonthEmpidGrossSalTaxToPayNetSalTaxPdYTDSalPdYTD
21200030017006003400
22220044017608803520
SELECT ONE OPTION

Question39: Consider the following fault attack:
* Force all possible incoming errors from the software/operating system interfaces to the application.
Which of the following is the kind of failure you are looking for when using this attack?

Question40: What BEST describes how tools can support the practice of Model-Based Testing (MBT)?

Question41: Why might static analysis be used on an Agile project'
SELECT ONE OPTION

Question42: You are testing software that will be used in nuclear power plants. The particular piece of code you are testing has been classified as SIL 2. The following section of code falls under this classification:
If ((A > B) or (C > D)) and (E = F) then print A
Endif
Which of the following sets of test data would supply the minimum tests needed to achieve the "highly recommended" level of coverage?

Question43: You have identified existing test cases that require re-factoring, Which is the NEXT task you should perform?
SELECT ONE OPTION

Question44: The last release of a hotel booking website resulted in poor system performance when hotel searches reached peak volumes. To address these problems in the forthcoming release, changes to the system architecture are to be implemented as follows:
Change 1 - Provision of a single Internet service using multiple servers, rather than a single server, to maximize throughput and minimize response time during peak volumes Change 2 - Prevention of unnecessary database calls for objects that were not immediately needed by the calling applications. Achieved by not automatically creating database connections at the start of processing, instead only just before the data is required.
The system architecture document has been drafted and as Technical Test Analyst you have been invited to participate in its review. Which of the following review checklist items is MOST likely to identify any defects in the proposed system architecture for Change 1?

Question45: A risk-based approach is being taken to test a new web-based retail application. Which of the following activities is the Technical Test Analyst NOT usually expected to perform?

Question46: You have been given this piece of pseudocode to review Assume that the variables have been declared set and validated in code that precedes this piece that you are reviewing Looking only at this part of the code what requires further discussion?
If a < b then
If a > 12 then
seta = 21
else
set a = 23
endif
If b < 17 then
set a = 24
endif
lfb> 14
set a = 25
set b = 10
else
set a = 5
endif
else
set a = 7
endif

Question47: Consider the following control flow graph:

The control flow represents a software component of a car navigation system. Within the project the maximum cyclomatic complexity to be allowed is set at 5.
Which of the following statements is correct?

Question48: What is MOST likely to be a consideration when implementing a new performance test tool?

Question49: You are working on the first release or an online dating service product Market research has shown that the site can expect to experience its heaviest usage during the months of January March June October. November and December During these months usage can be 2 to 10 times higher than dunng other times it has also been determined that people win not tolerate a wait time higher than 2 seconds for queries made regarding potential dates who have selected their profile Extensive usability studies have been done by the marketing department, including work with focus groups and comparative analysis of other similar sites The analysis on the project have provided detailed Ul mockups in reading the design documents, you have discovered that the marketing team plans to run reports to analyze usage patterns to improve the advertising What item on the architecture review checklist will be important to verify to ensure these reports don't impact the user response time?

Question50: Which of the following is NOT a common issue with traditional capture/playback test automation?

Question51: BestFor Incorporated is a rapidly growing online financial services company that offers guidance to its customers on a range of financial products. Its first website, BestForMortgages, was launched two years ago, shortly followed by BestForPensions. The popularity of both sites has driven the company to expand its offerings into other sectors and a third website, BestForFood, has recently been released.
The first two websites have proven to be functionally robust but suffered from performance issues due to:
Underestimation of concurrent user access at peak times in its original operational profiles Data volumes rapidly growing beyond expectations on a single database shared by both sites.
All three websites share the same web server.
The BestForFood system has been running live for several months, however the following significant non-functional defects have been recorded:
A) The layout and navigation of the BestForFood website was not considered by the users as consistent with BestForPensions and BestForMortgages B) Soon after delivering the BestForFood system the performance of both BestForPensions and BestForMortgages noticeably slowed C) The time taken to diagnose, repair and re-test production defects did not meet BestForFood service level agreements D) BestForFood performance was adversely impacted by unexpected growth in data volumes E) The time taken to install monthly builds into the production system exceeded agreed timescales.
Which TWO of these defects might have been prevented had portability testing and compatibility testing been employed?

Question52: Consider the code fragment provided below:

How many test cases are needed for the code fragment lines 26 - 37 to achieve 100% modified condition/decision coverage?

Question53: Assume you are involved in testing a Health Insurance Calculation system.
At the main screen one can enter information for a new client. The information to be provided consists of last name, first name and date of birth. After confirmation of the information, the system checks the age of the potential new client and calculates a proposed premium.
The system also has the option to request information for an existing client, using the client's ID number.
A keyword-driven automation approach is being used to automate most of the regression testing.
Based on the information provided, which TWO of the options provided would be the MOST LIKELY keywords for this application? (Choose two.)

Question54: A medical company has performed a safety criticality analysis using the IEC61508 standard. The software components to be developed have been categorized by Safety Integrity Level (SIL). Most components have been rated at SIL 1 or 2, and a few components at SIL 4.
After some discussions with the QA manager, the project has decided to adhere to the recommendations for test coverage provided by the IEC61508 standard.
Which level and type of test coverage should at least be used for the components rated at Safety Integrity Level (SIL) 2?

Question55: Consider the pseudo code provided below regarding a customer request for cash withdrawal from an ATM.
If the customer has sufficient funds in their account
OR the customer has the credit granted
THEN the ATM machine pays out the requested amount to the customer
Which of the following test cases would be the result of applying multiple condition testing, but would NOT be the result of applying modified condition/decision testing?

Question56: A unit test should be isolated Which option correctly describes the meaning of 'isolated' as a characteristic of a unit test?
SELECT ONE OPTION
Whenever it is run under the same conditions, it should produce the same results.

Question57: You need to implement a Java class that validates a password entry field. The validation critena states that the password must:
1. be a minimum of 8 characters
2 contain at least one special character.
You are focusing on validation criterion 1 and have written a test class that checks that a 7 character password entry will fail validation.
You have written code designed to make this test class pass, however, on first execution of the test class it has failed What should you do next9 SELECT ONE OPTION

Question58: You are working on a project to develop an application that allows users to collaborate via bespoke, online whiteboards. The first release, delivering core functionality, highlighted misunderstandings of the user stories between testers, developers and the product owner during sprint development Since that release, the developers have agreed to implement a TDD approach for future software development.
Creation of the product backlog for the second release is underway and you have recommended to the project stakeholders that an atdd approach be adopted for the backlog's user stories. What would be a GOOD REASON for making this recommendation?
SELECT ONE OPTION

Question59: You are involved in testing a system in the medical domain. Testing needs to comply with the FDA requirements and is rated as being safety critical. A product risk assessment has been performed and various mitigation actions have been identified. Reliability testing is one of the test types that needs to be performed throughout the development lifecycle.
Based on the information provided, which of the following activities would need to be addressed in the test plan?

Question60: Consider the following pseudocode segment:
set a = 1
while a < 12
display "this is loop", a
if a > 10 then
display "loop is > 10'
set a = 5
else
display "loop is < 11*
endif
end while
display "Final value of a is", a
Which of the following issues should be detected in the code review?

Question61: Which of the following test categories would best characterize a test designed to confirm that the data backup tapes stored offsite by a bank can be retrieved and loaded within the business process service level agreement?

Question62: You are defining the test approach for an Agile project developing a system to control traffic lights at busy road junctions. The system will use sensors to measure traffic density and flow rates, optimizing traffic flow.
While safety-critical, a risk assessment has deemed the project's risk level as low due to the team's expertise.
Which option below represents the BEST test approach for this project?
Key to symbols:
* + (highly recommended)
* (recommended)
* o (neutral/optional)
* * (not recommended)
* - (not to be used)

SELECT ONE OPTION

Question63: Consider the following section of pseudo code and associated test Input data:
If withdrawal-amount <= amount-on-deposit then Set authorize-transaction = true Else If withdrawal-amount <= S100 AND preferred-customer = true then Set authorize-transaction = true Else Set authorize-transaction = false Endif Endif Input data set #1 withdrawal-amount = 160 amount-on-deposit = 100 preferred-customer = true Input data set #2 withdrawal-amount = 500 amount-on-deposit = 500 preferred-customer = false Input data set #3 withdrawal-amount = 50 amount-on-deposit = 500 preferred-customer = false What would be the decision coverage achieved if each of these test input data sets were run once?

Question64: A project to replace your company's sales and merchandising system has begun. The old system is still in production but is poorly documented and expensive to maintain: changing it has often produced a large quantity of defects. The new version will be developed using modern techniques and technology.
Requirements include:
* Loading sales data, sent electronically from the stores each evening, into a central database where it is then available for other applications.
* Producing sales reports for the merchandisers, whose job is to manage stock levels in stores.
* Predictions of future demand for each product, based on a combination of sales history and forecasting parameters.
Requirements 1 and 2 are satisfied by the existing system and will be rewritten with no significant changes.
Requirement 3 is new: these forecasting reports will be run overnight, and users will request them by entering simple parameters online during the day.
The sales data are loaded in an overnight batch run. There have been problems at peak periods when this run has taken longer than scheduled, so that dependent jobs could not finish before the start of the working day.
As a Technical Test Analyst, you have been asked to contribute to the project's Master Test Plan. The key stakeholders are:
* The Merchandising Manager, who wants parameter entry to be quick and easy.
* The Data Centre Manager, who requires the new batch jobs to take less time than the old ones.
No specific performance requirements have been given, either for the batch jobs or for online parameter entry.
Which TWO of the following will BEST meet the objectives of the stakeholders?

Question65: Which of the following is a common technical issue that can result in an automation project failing?

Question66: Given the following code:
If x > y and z = 3 statement!
elself z = 4
statement2
endif;
What is the minimum number of tests needed to achieve 100% statement coverage?

Question67: Subject to testing is a software system (COTS) for Project Administration and Control (PACS). PACS is a multi-project system for controlling the project time, e.g., in terms of scheduling and tracking, and managing the productivity of projects, e.g., in terms of effort and deliverables.
During various interviews with stakeholders the following information was gathered:
* Using PACS is not business critical. There is no impact such as high financial losses or problems to the operational continuity of an organization. Its application is not critical since the software package does not support directly the operational, or the primary, business processes of an organization. It supports (project) management in the project planning and tracking process. Of course, it will be highly annoying for users if the system "goes down" from time to time. Although this does not have a high impact for the business process as a whole, the Mean Time Between Failures (MTBF) still needs to be at a good level to be successful in the market.
* Users of PACS typically have an academic educational level, but have no prior experience with this particular type of project management software. The system will be used by a large number of users within an organization.
* The system will be used on a regular basis, e.g., several times per day by project managers and several times per week by project employees. This means that the system will not be used very intensively, often only for some data input or an information request. Its usage is not considered to be very time-critical.
* The data is recorded on-line and real-time. The system is expected to run in multiple hardware environments in various network environments. It is also expected that changes in the operational environments will happen in the upcoming period that also need to be supported.
Based on the information provided by the stakeholder, which combination of non-functional quality characteristics should you propose to test as part of your test approach?

Question68: When conducting a data flow analysis of following section of pseudo code:
Declare C, F, Z Decimal
Set Z = 32
Read F
SetC = (F-Z) * 5/9
Free C, F. Z
Print F
Which of the variables utilized above has a potential anomalie?

Question69: Within the world of consumer electronics, the amount of embedded software is growing rapidly. The amount of software in high-end television sets has increased by a factor of about eight over the last six years. In addition, the market of consumer electronics has been faced with a 5 -10% price erosion per year. The price of a product is, among a number of other things, determined by the microcontroller used. Therefore, the use of ROM and RAM remains under high pressure in consumer electronic products, leading to severe restrictions on code size.
Within a new high-end TV project, it has been decided to apply dynamic analysis.
Which of the quality goals listed below is MOST appropriate to the project context?

Question70: The stakeholders in a new system want its mean time between failure to be three months or longer, with a mean time to repair the system of ten minutes or less when it does fail. When planning and specifying reliability tests to be performed before release, which ONE of the following is a factor that must be considered?

Question71: Why should security testing include testing for any cross-site scripting vulnerabilities?

Question72: Listed below are some possible findings from static analysis of a component containing approximately 1,000 lines of code. Which combination suggests that the component does NOT need refactoring for better maintainability?
A) Low measure of coupling.
B) Low measure of cohesion.
C) Low measure of commenting.
D) Low measure of complexity.
E) High measure of coupling.
F) High measure of cohesion.
G) High measure of commenting.
H) High measure of complexity.

Question73: A software company based in Spain that develops mobile applications expects many small updates in the future, e.g., due to changing configurations and customer feedback. The company also wants to focus on being able to change the software effectively and efficiently during initial development without introducing new defects.
Which maintainability sub-characteristic should be covered by the test approach during the initial development?

Question74: Which of the following elicitation techniques is BEST usedwhen questioning a large number of stakeholders specifically to obtain information for non-functional acceptance criteria?
SELECT ONE OPTION

Question75: Below is pseudo-code which calculates a customer's cruise credits based on past cruise history:
PROGRAM CALC CRUISE CREDITS (CUST_ID) COUNT_CRUISES, CRUISE_CREDITS,
LOYALTY_RATING: INTEGER CRUISE_LENGTH, CRUISE_ACCOM_TYPE: VAR
* LOYALTY_RATING = 0
* COUNT_CRUISES = 0
* CRUISE_LENGTH = 0
* CRUISE_ACCOM_TYPE = 0
* BEGIN
* READ CUSTOMER'S CRUISE HISTORY TO OBTAIN COUNT OF CRUISES
* READ CRUISE_HISTORY (CUST_ID)
* WHILE COUNT_CRUISES != -1 DO
* READ CUSTOMER'S NEXT CRUISE
* READ NEXT_CRUISE
* IF CRUISE_ACCOM_TYPE = 3 THEN
* CRUISE_CREDITS = CRUISE_CREDITS + 5
* ELSE
* IF CRUISE_ACCOM_TYPE = 2 THEN
* CRUISE_CREDITS = CRUISE_CREDITS + 3
* ELSE
* CRUISE_CREDITS = CRUISE_CREDITS + 2
* ENDIF
* ENDIF
* COUNT_CRUISES = COUNT_CRUISES - 1
* ENDWHILE
* LOYALTY_RATING = CRUISE_CREDITS / COUNT_CRUISES
* WRITE ("CRUISE CREDIT TOTAL IS:")
* WRITE (CRUISE_CREDITS)
* END PROGRAM CALC CRUISE CREDITS
The code contains data flow anomalies on lines 14 and 27. Which examples of data flow anomalies can be found on these lines?

Question76: A project to replace your company's sales and merchandising system has begun. The old system is still in production but is poorly documented and expensive to maintain: changing it has often produced a large quantity of defects. The new version will be developed using modern techniques and technology.
Requirements include:
* Loading sales data, sent electronically from the stores each evening, into a central database where it is then available for other applications.
* Producing sales reports for the merchandisers, whose job is to manage stock levels in stores.
* Predictions of future demand for each product, based on a combination of sales history and forecasting parameters.
Requirements 1 and 2 are satisfied by the existing system and will be rewritten with no significant changes.
Requirement 3 is new: these forecasting reports will be run overnight, and users will request them by entering simple parameters online during the day.
The sales data are loaded in an overnight batch run. There have been problems at peak periods when this run has taken longer than scheduled, so that dependent jobs could not finish before the start of the working day.
As a Technical Test Analyst, you have been asked to contribute to the project's Master Test Plan. The concerns expressed by stakeholders during risk identification include the length of the batch job runs, ease of parameter entry for the users, unauthorized access to stored sales data, and limited time for testing. With these in mind, which TWO of the following quality characteristics sub-characteristics are likely to contain the highest levels of technical risk?
A) Operability.
B) Time behavior.
C) Interoperability.
D) Security.
E) Testability.

Question77: Consider the following section of code:
If ((A > B) or (C > D)) and (E = F) then
print A:
Endif
Which of the following sets of test data can be used to achieve Modified Condition/Decision Coverage with the least number of tests?

Question78: In order to create a shareable testing service from server or network traffic log data, which of the following types of tool would you use?
SELECT ONE OPTION

Question79: Which statement about component testing tools and build automation tools is TRUE?

Question80: Which statement correctly describes continuous testing'
SELECT ONE OPTION

Question81: Below is the pseudo-code for the Win program:

The bingo program contains a data flow anomaly. Which data flow anomaly can be found in this program?

Question82: The following user story has been written for a new application being developed to pre-book a space at a National Car Park.
As a vehicle driver
i want to be able to pre-book a car parking space online, selecting a disabled driver's space if needed So that l can pay in advance and receive confirmation of my parking space number.
The following acceptance criteria have also been written:
*Payment can be made via PayPal, Debit or Credit Card
*Confirmation of payment and car parking details should be sent after the booking process is completed
*Driver information is stored in the reservation database
The database has been built and tested in a previous sprint, but the interface to the different payment methods have yet to be developed As a tester in an agile team, you have been asked to review the user story You have detected some issues with this story:
1.it needs to cater for different user groups: a driver or disabled driver
2.it needs to cater for different vehicle types: a car. 4x4. van or motorbike
3.There are no acceptance criteria relating to how quick the booking process should be
4.How confirmation is to be sent for payment and space number, and other important details, have not been specified
5.A stub will be needed to test the payment method
Which pair of requirements engineering techniques are you MOST LIKELY to have used to uncover these issues' SELECT ONE OPTION